<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="description" content="" />
<meta name="keywords" content="" /> 
<title><?php echo $title ?></title>
<?php foreach ($styles as $file) echo HTML::style($file),"\n" ?>
<?php if(Lib_Base::is_mobile()):?>
<link rel="stylesheet" type="text/css" media="screen and (min-width:480px)" href="/assets/css/pad.css"/> 
<link rel="stylesheet" type="text/css" media="screen and (max-width:480px)" href="/assets/css/phone.css"/>
<?php endif;?>  
</head>
<body>
<div class="warp">
   <?php echo Block_Site::header() ?>
    <div class="main-content">
        <?php echo $content?>
    </div>
</div>
 <?php include('quick_login.php') ?>
 <div class="btn_top">
 	<span class="to_top"></span>
 </div>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-TGSJXF"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TGSJXF');</script>
<!-- End Google Tag Manager -->
<script type="text/javascript" src="/media/scripts/config.js"></script>
<script data-main="/<?php echo !empty($scripts)?$scripts[0]:""?>" src="/media/scripts/require.js"></script>
</body>
</html>
